// this class is useful for records where there is a string id and a value associated with it
// this class is serializable and we can use writerecord and readrecord with it
public class PLRecordKeyValue<Key, Value> extends PLRecord {

	private static final long serialVersionUID = 1L;

	Key mKey;
	Value mValue;

	public PLRecordKeyValue() {
		super(RecordIdT.kKeyValue);		
	}

	public PLRecordKeyValue(Key key, Value value) {
		super(RecordIdT.kKeyValue);
		mKey = key;
		mValue = value;
	}

	public void Set(Key key, Value value) {
		mKey = key;
		mValue = value;
	}

	public Key GetKey() { return mKey; }
	public Value GetValue() { return mValue; }	
	
}
